package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.WdyWithdraw;

import java.math.BigDecimal;
import java.util.List;

/**
 * 提币记录 数据层
 * 
 * @author ruoyi
 * @date 2019-03-12
 */
public interface WdyWithdrawMapper extends BaseMapper<WdyWithdraw>
{
	/**
     * 查询提币记录信息
     * 
     * @param id 提币记录ID
     * @return 提币记录信息
     */
	public WdyWithdraw selectWdyWithdrawById(Long id);
	
	/**
     * 查询提币记录列表
     * 
     * @param wdyWithdraw 提币记录信息
     * @return 提币记录集合
     */
	public List<WdyWithdraw> selectWdyWithdrawList(WdyWithdraw wdyWithdraw);
	public String getStatistics(WdyWithdraw wdyWithdraw);
	/**
     * 新增提币记录
     * 
     * @param wdyWithdraw 提币记录信息
     * @return 结果
     */
	public int insertWdyWithdraw(WdyWithdraw wdyWithdraw);
	
	/**
     * 修改提币记录
     * 
     * @param wdyWithdraw 提币记录信息
     * @return 结果
     */
	public int updateWdyWithdraw(WdyWithdraw wdyWithdraw);
	
	/**
     * 删除提币记录
     * 
     * @param id 提币记录ID
     * @return 结果
     */
	public int deleteWdyWithdrawById(Long id);
	
	/**
     * 批量删除提币记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
	public int deleteWdyWithdrawByIds(String[] ids);

	public BigDecimal getSum(WdyWithdraw wdyWithdraw);
}